package org.paradise.dao;


import org.paradise.pojo.Shopping;

import java.util.List;

public interface ShoppingDao extends CommonDao<Shopping,Integer>{
    /**
     * 根据类型显示所对应的商品
     * @param id
     * @return
     */
    public List<Shopping> getshoppingid(Integer id);

    /**
     * 根据编号修改商品数量
     * @param shopping
     * @return
     */
    public void upnum(Shopping shopping);
}
